<template>
  <div>
    <img style="width: 100%; height: 130px" src="./head.jpg" alt="" />
    <div class="title">
      {{ hospName }} <br />
      新冠病毒核酸检测预约
    </div>
    <el-row class="row0">
      <el-col :span="4" align="center">
        <div class="grid-content bg-purple currentBg">
          <div>2021/1/10</div>
          <div class="colorDiv">有号</div>
        </div>
      </el-col>
      <el-col :span="4" align="center">
        <div class="grid-content bg-purple currentBg">
          <div>2021/1/11</div>
          <div class="colorDiv">有号</div>
        </div>
      </el-col>
      <el-col :span="4" align="center">
        <div class="grid-content bg-purple currentBg">
          <div>2021/1/12</div>
          <div class="colorDiv">有号</div>
        </div>
      </el-col>
      <el-col :span="4" align="center">
        <div class="grid-content bg-purple currentBg">
          <div>2021/1/13</div>
          <div class="colorDiv">有号</div>
        </div>
      </el-col>
      <el-col :span="4" align="center">
        <div class="grid-content bg-purple currentBg">
          <div>2021/1/14</div>
          <div class="colorDiv">有号</div>
        </div>
      </el-col>

      <el-col :span="4" align="center">
        <div class="grid-content bg-purple currentBg">
          <div>2021/1/15</div>
          <div class="colorDiv">有号</div>
        </div>
      </el-col>
    </el-row>

    <div class="row">
      <div>
        <div>2021/1/10</div>
        已预约人数/可检测人数:
        <el-tag class="tag"> 69/100 </el-tag>
        <el-button type="primary" round class="sub"> 马上预约</el-button>
      </div>
      <el-tag class="tag"> 咨询电话 86-13151997181 </el-tag>
    </div>

    <div class="row">
      <div>
        <div>2021/1/11</div>
        已预约人数/可检测人数:
        <el-tag class="tag"> 32/100 </el-tag>
        <el-button type="primary" round class="sub"> 马上预约</el-button>
      </div>
      <el-tag class="tag"> 咨询电话 86-13151997181 </el-tag>
    </div>

    <div class="row">
      <div>
        <div>2021/1/12</div>
        已预约人数/可检测人数:
        <el-tag class="tag"> 24/100 </el-tag>
        <el-button type="primary" round class="sub"> 马上预约</el-button>
      </div>
      <el-tag class="tag"> 咨询电话 86-13151997181 </el-tag>
    </div>

    <div class="row">
      <div>
        <div>2021/1/13</div>
        已预约人数/可检测人数:
        <el-tag class="tag"> 13/100 </el-tag>
        <el-button type="primary" round class="sub"> 马上预约</el-button>
      </div>
      <el-tag class="tag"> 咨询电话 86-13151997181 </el-tag>
    </div>
    <div class="row">
      <div>
        <div>2021/1/13</div>
        已预约人数/可检测人数:
        <el-tag class="tag"> 19/100 </el-tag>
        <el-button type="primary" round class="sub"> 马上预约</el-button>
      </div>
      <el-tag class="tag"> 咨询电话 86-13151997181 </el-tag>
    </div>
    <div class="row">
      <div>
        <div>2021/1/14</div>
        已预约人数/可检测人数:
        <el-tag class="tag"> 10/100 </el-tag>
        <el-button type="primary" round class="sub"> 马上预约</el-button>
      </div>
      <el-tag class="tag"> 咨询电话 86-13151997181 </el-tag>
    </div>
    <div class="row">
      <div>
        <div>2021/1/15</div>
        已预约人数/可检测人数:
        <el-tag class="tag"> 10/100 </el-tag>
        <el-button type="primary" round class="sub"> 马上预约</el-button>
      </div>
      <el-tag class="tag"> 咨询电话 86-13151997181 </el-tag>
    </div>
    <div class="row">
      <div>
        <div>2021/1/16</div>
        已预约人数/可检测人数:
        <el-tag class="tag"> 21/100 </el-tag>
        <el-button type="primary" round class="sub"> 马上预约</el-button>
      </div>
      <el-tag class="tag"> 咨询电话 86-13151997181 </el-tag>
    </div>
    <div class="row">
      <div>
        <div>2021/1/17</div>
        已预约人数/可检测人数:
        <el-tag class="tag"> 11/100 </el-tag>
        <el-button type="primary" round class="sub"> 马上预约</el-button>
      </div>
      <el-tag class="tag"> 咨询电话 86-13151997181 </el-tag>
    </div>
    <div class="row">
      <div>
        <div>2021/1/18</div>
        已预约人数/可检测人数:
        <el-tag class="tag"> 01/100 </el-tag>
        <el-button type="primary" round class="sub"> 马上预约</el-button>
      </div>
      <el-tag class="tag"> 咨询电话 86-13151997181 </el-tag>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      hospName: "",
    };
  },
  computed: {},
  methods: {},
  created() {
    let { name } = this.$route.query;
    this.hospName = name;
  },
  mounted() {},
};
</script>
<style  scoped>
.title {
  position: relative;
  bottom: 130px;
  left: 30px;
  color: rgb(238, 165, 194);
  padding-top: 20px;
  padding-left: 20px;
  height: 80px;
  font-size: 27px;
  font-weight: bold;
  /* border-bottom: 3px solid rgb(241, 241, 241); */
}
.row0 {
  position: relative;
  bottom: 110px;
}
.bg-purple {
  background: #faeded;
}

.grid-content {
  border-radius: 4px;
  min-height: 80px;
  margin: 1px;
  /* padding: 60px; */
}
.colorDiv {
  color: #19acf0;
  font-weight: bold;
}
.currentBg {
  background-color: rgb(255, 223, 236);
  height: 10px;
  border-radius: 5px;
  padding: 10px 0;
  /* 设置height为整个容器的高度 */
  box-sizing: border-box;
  text-align: center;
  line-height: 30px;
  /* 字体大小 */
  font-size: 15px;
  /* 字体加粗 */
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 5px;
}
.tag {
  margin: 0px;
  font-size: 15px;
}
.sub {
  position: relative;
  left: 500px;
  top: 10px;
}
.row {
  position: relative;
  bottom: 110px;
  height: 100px;
  padding-left: 50px;
  padding-top: 10px;
  /* border:3px solid rgb(241, 241, 241) ; */
  /* border-bottom: 3px solid rgb(241, 241, 241); */
  margin: 10px;
  margin-left: 0px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
}
</style>